<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">

    <!--<title>tab</title> -->
    <style type="text/css">

    </style>
    <link rel="stylesheet" href="../css/app.css"/>
</head>

<body>
<div class="mod_tad">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tbody>
        <tr>
            <td align="right"><p>服务项目</p></td>
            <td>&nbsp;</td>
            <td width="71%">
                <select name="select" id="select_fw" onchange="context()">
                    <option value="1">验资</option>
                    <option value="2">财务报表审计</option>
                    <option value="3">企业合并、分立等审计</option>
                </select>
            </td>
        </tr>
        </tbody>
    </table>
    <div class="mod_tad" id="test1">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tbody>
            <tr>
                <td width="26%" align="right"><p id="select_title">资产总额</p><br>
                   </td>
                <td width="3%">&nbsp;</td>
                <td width="71%"><p><input name="" type="tel" class="inputext" id="srzrXS" onKeyUp="context();">元</p><br>
                    <p id="srzrDS"></p></td>
            </tr>
            <tr>
                <td align="right"><p>标准收费</p><br>
                   </td>
                <td>&nbsp;</td>
                <td><p id="bzsfSX">￥0.00</p><br>
                    <p id="bzsfDX"></p></td>
            </tr>
            <tr>
                <td align="right"><p>浮动系数</p></td>
                <td>&nbsp;</td>
                <td><p><input name="" type="tel" value="100" class="inputext" id="fdxs" onKeyUp="context();">%</p></td>
            </tr>
            <tr>
                <td align="right" onclick="alert(share_computation_web())"><p>收费金额</p><br>
                   </td>
                <td>&nbsp;</td>
                <td><p id="sfjrXS">￥0.00</p><br>
                    <p id="sfjrDS"></p></td>
            </tr>
            </tbody>
        </table>
    </div>
    <div class="mod_tad" id="test2" style="display:none;">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tbody>
            <tr>
                <td width="26%" align="right"><p id="select_title">资产总额</p><br>
                   </td>
                <td width="3%">&nbsp;</td>
                <td width="71%"><p><input name="" type="tel" class="inputext" id="zczrXS0" value="0"
                                          onKeyUp="context();">元</p><br>
                    <p id="zczrDS0"></p></td>
            </tr>
            <tr>
                <td width="26%" align="right"><p id="select_title">收入总额</p><br>
                   </td>
                <td width="3%">&nbsp;</td>
                <td width="71%"><p><input name="" type="tel" class="inputext" id="srzrXS0" value="0"
                                          onKeyUp="context();">元</p><br>
                    <p id="srzrDS0"></p></td>
            </tr>
            <tr>
                <td align="right"><p>计费基数</p><br>
                   </td>
                <td>&nbsp;</td>
                <td><p id="jfjs">0</p><br>
                    <p id="jfjsDX"></p></td>
            </tr>
            <tr>
                <td align="right"><p>标准收费</p><br>
                   </td>
                <td>&nbsp;</td>
                <td><p id="bzsfSX0">￥0.00</p><br>
                    <p id="bzsfDX0"></p></td>
            </tr>
            <tr>
                <td align="right"><p>浮动系数</p></td>
                <td>&nbsp;</td>
                <td><p><input name="" type="tel" value="100" class="inputext" id="fdxs0" onKeyUp="context();">%</p></td>
            </tr>
            <tr>
                <td align="right" onclick="alert(share_computation_web())"><p>收费金额</p><br>
                   </td>
                <td>&nbsp;</td>
                <td><p id="sfjrXS0">￥0.00</p><br>
                    <p id="sfjrDS0"></p></td>
            </tr>
            </tbody>
        </table>
    </div>
</div>

<br>

<div class="copy_div" id="copy_div">
    <div class="cp_btn" onclick="copyProcessFun('广西壮族自治区物价局关于会计事务所服务收费有关问题的通知（桂价费〔2012〕74号）');">复制过程</div>
</div>

<div id="process" class="process_div"></div>

<div class="policy_div">
    <p style="text-align:center">
        <strong><span
                style="font-size:20px;font-family:仿宋;color:black">广西壮族自治区物价局关于会计事务所服务收费有关问题的通知（桂价费〔2012〕74号）</span></strong>
    </p>
    <p style="text-align:left">
        <span style="font-size:16px;font-family:仿宋">自</span><span style="font-size:16px;font-family:仿宋;color:black">治区财政厅，各市物价局：</span>
    </p>
    <p style="text-align:left">
        <span style="font-size:16px;font-family:仿宋;color:black">　　自治区财政厅《关于请求批准规范我区会计师事务所服务收费有关问题的函》（桂财会函〔2012〕201号）收悉。为规范会计师事务所收费行为，维护社会公共利益和当事人的合法权益，促进会计师行业健康发展，根据《国家发展改革委、财政部关于印发&lt;会计师事务所服务收费管理办法&gt;的通知》（发改价格〔2010〕196号）精神，结合我区实际，现就我区会计师事务所服务收费有关问题通知如下：</span>
    </p>
    <p style="text-align:left">
        <span style="font-size:16px;font-family:仿宋;color:black">　　一、依法设立的会计师事务所根据相关法律法规规定提供审计服务和其他服务，应按本通知规定收取服务费用。</span>
    </p>
    <p style="text-align:left">
        <span style="font-size:16px;font-family:仿宋;color:black">　　二、会计师事务所服务收费，应遵循公开、公正、公平、自愿有偿、诚实信用和委托人付费的原则。</span>
    </p>
    <p style="text-align:left">
        <span style="font-size:16px;font-family:仿宋;color:black">　　三、会计师事务所服务收费实行政府指导价和市场调节价管理。</span>
    </p>
    <p style="text-align:left">
        <span style="font-size:16px;font-family:仿宋;color:black">　　会计师事务所提供下列审计服务的收费实行政府指导价：</span>
    </p>
    <p style="text-align:left">
        <span style="font-size:16px;font-family:仿宋;color:black">　　（一）审查企业会计报表，出具审计报告；</span>
    </p>
    <p style="text-align:left">
        <span style="font-size:16px;font-family:仿宋;color:black">　　（二）验证企业资本，出具验资报告；</span>
    </p>
    <p style="text-align:left">
        <span style="font-size:16px;font-family:仿宋;color:black">　　（三）办理企业合并、分立、清算事宜中的审计服务，出具相关的报告；</span>
    </p>
    <p style="text-align:left">
        <span style="font-size:16px;font-family:仿宋;color:black">　　（四）法律、行政法规规定的其他审计服务。</span>
    </p>
    <p style="text-align:left">
        <span style="font-size:16px;font-family:仿宋;color:black">　　会计师事务所按照自愿有偿原则提供会计咨询、会计服务等其他服务的收费实行市场调节价。</span>
    </p>
    <p style="text-align:left">
        <span style="font-size:16px;font-family:仿宋;color:black">　　会计师事务所对委托业务不在当地，需赴外地办理业务的，差旅费不在上述标准内，由委托方另行承担，并在合同中约定。</span>
    </p>
    <p style="text-align:left">
        <span style="font-size:16px;font-family:仿宋;color:black">　　四、实行政府指导价的审计服务，其收费实行自治区和设区城市价格主管部门两级管理，即：自治区价格主管部门负责制定全区会计事务所收费管理规定，以及服务收费基准价格和浮动幅度（见附件），设区城市价格主管部门结合企业服务成本和当地经济社会发展水平等情况，在不超过自治区收费规定的前提下核定本级及所辖县（市、区）会计师事务所服务收费具体收费标准。</span>
    </p>
    <p style="text-align:left">
        <span style="font-size:16px;font-family:仿宋;color:black">　　实行市场调节价的其他服务，由会计事务所根据服务成本和当地经济社会发展状况及委托人承受能力等情况与委托人协商确定不同服务的具体收费标准。</span>
    </p>
    <p style="text-align:left">
        <span style="font-size:16px;font-family:仿宋;color:black">　　五、会计事务所异地设立的分所，执行分所所在地的收费规定。</span>
    </p>
    <p style="text-align:left">
        <span style="font-size:16px;font-family:仿宋;color:black">　　会计事务所（分所）异地提供服务的，可以执行会计事务所（分所）所在地或异地的收费规定，具体由会计事务所与委托人协商确定。</span>
    </p>
    <p style="text-align:left">
        <span style="font-size:16px;font-family:仿宋;color:black">　　六、会计师事务所提供审计服务和其他服务时，应与委托方签订服务合同（协议），明确双方的权利和义务，载明收费项目、收费标准、收费方式、收费金额、付款和结算方式、争议解决方式；采用计时收费的，还应载明计费的工作人日数等内容。</span>
    </p>
    <p style="text-align:left">
        <span style="font-size:16px;font-family:仿宋;color:black">　　七、会计师事务所审计服务收费实行《服务性收费许可证》管理。收费单位应按规定到所在地价格主管部门办理《服务性收费许可证》，实行亮证收费，在其经营场所显著位置公示收费项目、收费标准、计费方法等内容，不得在标价外擅立项目乱收费。</span>
    </p>
    <p style="text-align:left">
        <span style="font-size:16px;font-family:仿宋;color:black">　　八、各级价格主管部门应加强对会计师事务所服务收费的监督管理，对违反本通知规定乱收费的，应按国家有关价格法律、法规查处。</span>
    </p>
    <p style="text-align:left">
        <span style="font-size:16px;font-family:仿宋;color:black">　　九、上述收费从2012年9月1日起试行两年，试行期满前两个月，请按规定程序重新申报我局核定正式收费标准。原《广西壮族自治区物价局关于重新规范会计事务所服务收费标准的通知》（桂价费〔2007〕51号）同时废止。</span>
    </p>
    <p style="text-align:left">
        <span style="font-size:16px;font-family:Calibri;color:black">&nbsp;</span><span
            style="font-size:16px;font-family:仿宋;color:black">　　附件：</span><span
            style="font-size:16px;font-family:Calibri;color:black">&nbsp;</span><span
            style="font-size:16px;font-family:仿宋;color:black">广西会计师事务所服务收费标准表</span>
    </p>
    <p style="text-align:left">
        <span style="font-size:16px;font-family:仿宋;color:black">2012</span><span
            style="font-size:16px;font-family:仿宋;color:black">年8月15日</span>
    </p>
    <p style="text-align:left">
        <span style="font-size:16px;font-family:仿宋;color:black">附件</span>
    </p>
    <p style="text-align:center;line-height:41px">
        <strong><span style="font-size:24px;font-family:仿宋">广西会计师事务所服务收费标准表</span></strong>
    </p>
    <p style="margin-left:56px;line-height:20px">
        <span style="font-size:16px;font-family:仿宋">注：1、验资业务不适用计时收费的方式。验资业务的计费基础为验证资本总额，审计业务以资产总额或总收入等反映审计对象规模的指标中最大者为计费依据；</span>
    </p>
    <p style="text-indent:32px;line-height:20px">
        <span style="font-size:16px;font-family:仿宋">2</span><span style="font-size:16px;font-family:仿宋">、本通知收费标准的计费方式，未注明按差额定率累进办法计算的均为分档一次计费方式；</span>
    </p>
    <p style="text-indent:32px;line-height:20px">
        <span style="font-size:16px;font-family:仿宋">3</span><span style="font-size:16px;font-family:仿宋">、本表收费标准上下浮动幅度不得超过20﹪。</span>
    </p>
    <table width="100%" class="tableC">
        <tbody>
        <tr style=";height:51px" class="firstRow">
            <td width="38">
                <p style="text-align:left">
                    <strong><span style="font-size:12px;font-family:仿宋;color:black">项目</span></strong>
                </p>
            </td>
            <td width="44">
                <p style="text-align:left">
                    <strong><span style="font-size:12px;font-family:仿宋;color:black">50</span></strong><strong><span
                        style="font-size:   12px;font-family:仿宋;color:black">万元以下</span></strong>
                </p>
            </td>
            <td width="51">
                <p style="text-align:left">
                    <strong><span style="font-size:12px;font-family:仿宋;color:black">51-100</span></strong><strong><span
                        style="font-size:   12px;font-family:仿宋;color:black">万元</span></strong>
                </p>
            </td>
            <td width="57">
                <p style="text-align:left">
                    <strong><span style="font-size:12px;font-family:仿宋;color:black">101-500</span></strong><strong><span
                        style="font-size:12px;font-family:仿宋;color:black">万元</span></strong>
                </p>
            </td>
            <td width="69">
                <p style="text-align:left">
                    <strong><span
                            style="font-size:12px;font-family:仿宋;color:black">501-1,000</span></strong><strong><span
                        style="font-size:12px;font-family:仿宋;color:black">万元</span></strong>
                </p>
            </td>
            <td width="81">
                <p style="text-align:center">
                    <strong><span style="font-size:12px;font-family:仿宋;color:black">1,001</span></strong>
                </p>
                <p style="text-align:center">
                    <strong><span style="font-size:12px;font-family:仿宋;color:black">-5,000</span></strong>
                </p>
            </td>
            <td width="38">
                <p style="text-align:center">
                    <strong><span style="font-size:12px;font-family:仿宋;color:black">5,001</span></strong>
                </p>
                <p style="text-align:center">
                    <strong><span style="font-size:12px;font-family:仿宋;color:black">-10,000</span></strong>
                </p>
            </td>
            <td width="50">
                <p style="text-align:left">
                    <strong><span style="font-size:12px;font-family:仿宋;color:black">1</span></strong><strong><span
                        style="font-size:12px;font-family:仿宋;color:black">亿元以上2亿元以下</span></strong>
                </p>
            </td>
            <td width="44">
                <p style="text-align:left">
                    <strong><span style="font-size:12px;font-family:仿宋;color:black">2</span></strong><strong><span
                        style="font-size:12px;font-family:仿宋;color:black">亿元以上</span></strong>
                </p>
            </td>
        </tr>
        <tr style=";height:19px">
            <td width="38">
                <p style="text-align:left">
                    <span style="font-size:12px;font-family:仿宋;color:black">验资</span>
                </p>
            </td>
            <td width="44">
                <p style="text-align:center">
                    <span style="font-size:12px;font-family:仿宋;color:black">1200</span>
                </p>
            </td>
            <td width="51">
                <p style="text-align:center">
                    <span style="font-size:12px;font-family:仿宋;color:black">2,000</span>
                </p>
            </td>
            <td width="57">
                <p style="text-align:center">
                    <span style="font-size:12px;font-family:仿宋;color:black">3,500</span>
                </p>
            </td>
            <td width="69">
                <p style="text-align:center">
                    <span style="font-size:12px;font-family:仿宋;color:black">5,000</span>
                </p>
            </td>
            <td width="81">
                <p style="text-align:center">
                    <span style="font-size:12px;font-family:仿宋;color:black">8,000</span>
                </p>
            </td>
            <td width="38">
                <p style="text-align:center">
                    <span style="font-size:12px;font-family:仿宋;color:black">15,000</span>
                </p>
            </td>
            <td width="50">
                <p style="text-align:center">
                    <span style="font-size:12px;font-family:仿宋;color:black">20,000</span>
                </p>
            </td>
            <td width="44">
                <p style="text-align:left">
                    <span style="font-size:12px;font-family:仿宋;color:black">万分之1</span>
                </p>
            </td>
        </tr>
        <tr style=";height:34px">
            <td width="38">
                <p style="text-align:left">
                    <span style="font-size:12px;font-family:仿宋;color:black">非货币验资</span>
                </p>
            </td>
            <td width="435" colspan="8">
                <p style="text-align:center">
                    <span style="font-size:12px;font-family:仿宋;color:black">设立验资、变更验资中的非货币验资部分按设立验资、变更验资的120%执行。</span>
                </p>
            </td>
        </tr>
        <tr style=";height:68px">
            <td width="38">
                <p style="text-align:left">
                    <span style="font-size:12px;font-family:仿宋;color:black">年度报表审计与财务收支审计</span>
                </p>
            </td>
            <td width="44">
                <p style="text-align:center">
                    <span style="font-size:12px;font-family:仿宋;color:black">1,500</span>
                </p>
            </td>
            <td width="51">
                <p style="text-align:center">
                    <span style="font-size:12px;font-family:仿宋;color:black">3,000</span>
                </p>
            </td>
            <td width="57">
                <p style="text-align:center">
                    <span style="font-size:12px;font-family:仿宋;color:black">6,000</span>
                </p>
            </td>
            <td width="69">
                <p style="text-align:center">
                    <span style="font-size:12px;font-family:仿宋;color:black">10,000</span>
                </p>
            </td>
            <td width="81">
                <p style="text-align:center">
                    <span style="font-size:12px;font-family:仿宋;color:black">15,000</span>
                </p>
            </td>
            <td width="38">
                <p style="text-align:center">
                    <span style="font-size:12px;font-family:仿宋;color:black">25,000</span>
                </p>
            </td>
            <td width="50">
                <p style="text-align:center">
                    <span style="font-size:12px;font-family:仿宋;color:black">30,000</span>
                </p>
            </td>
            <td width="44">
                <p style="text-align:left">
                    <span style="font-size:12px;font-family:仿宋;color:black">万分之1.5</span>
                </p>
            </td>
        </tr>
        <tr style=";height:34px">
            <td width="38">
                <p style="text-align:left">
                    <span style="font-size:12px;font-family:仿宋;color:black">中期报表审计</span>
                </p>
            </td>
            <td width="435" colspan="8">
                <p style="text-align:center">
                    <span style="font-size:12px;font-family:仿宋;color:black">按年度报表审计收费标准的60%执行。</span>
                </p>
            </td>
        </tr>
        <tr style=";height:51px">
            <td width="38">
                <p style="text-align:left">
                    <span style="font-size:12px;font-family:仿宋;color:black">基建竣工财务决算审计</span>
                </p>
            </td>
            <td width="435" colspan="8">
                <p style="text-align:center">
                    <span style="font-size:12px;font-family:仿宋;color:black">按决算金额的1‰—2‰计算基本收费，同时，按核减额（节约额）的4%--6%计算效益审计费一并计费，每个项目最低收费不低于3000元。</span>
                </p>
            </td>
        </tr>
        <tr style=";height:34px">
            <td width="38">
                <p style="text-align:left">
                    <span style="font-size:12px;font-family:仿宋;color:black">司法鉴定审计</span>
                </p>
            </td>
            <td width="435" colspan="8">
                <p style="text-align:center">
                    <span style="font-size:12px;font-family:仿宋;color:black">按司法鉴定收费标准计。</span>
                </p>
            </td>
        </tr>
        <tr style=";height:34px">
            <td width="38">
                <p style="text-align:left">
                    <span style="font-size:12px;font-family:仿宋;color:black">经济责任审计</span>
                </p>
            </td>
            <td width="435" colspan="8">
                <p style="text-align:center">
                    <span style="font-size:12px;font-family:仿宋;color:black">按审计期间分年度计算收费，各年度收费按财务报表审计收费标准计收。</span>
                </p>
            </td>
        </tr>
        <tr style=";height:65px">
            <td width="38">
                <p style="text-align:left">
                    <span style="font-size:12px;font-family:仿宋;color:black">改制、清算、合并、分立、清产核资等</span>
                </p>
            </td>
            <td width="44"></td>
            <td width="51">
                <p style="text-align:center">
                    <span style="font-size:12px;font-family:仿宋;color:black">(100</span><span
                        style="font-size:12px;font-family:仿宋;color:black">万元以下1000元)</span>
                </p>
            </td>
            <td width="57">
                <p style="text-align:left">
                    <span style="font-size:12px;font-family:仿宋;color:black">1</span><span
                        style="font-size:12px;font-family:仿宋;color:black">‰</span>
                </p>
            </td>
            <td width="69">
                <p style="text-align:left">
                    <span style="font-size:12px;font-family:仿宋;color:black">0.7</span><span
                        style="font-size:12px;font-family:仿宋;color:black">‰</span>
                </p>
            </td>
            <td width="81">
                <p style="text-align:left">
                    <span style="font-size:12px;font-family:仿宋;color:black">0.5</span><span
                        style="font-size:12px;font-family:仿宋;color:black">‰</span>
                </p>
            </td>
            <td width="38">
                <p style="text-align:left">
                    <span style="font-size:12px;font-family:仿宋;color:black">0.33</span><span
                        style="font-size:12px;font-family:仿宋;color:black">‰</span>
                </p>
            </td>
            <td width="50">
                <p style="text-align:left">
                    <span style="font-size:12px;font-family:仿宋;color:black">0.23</span><span
                        style="font-size:12px;font-family:仿宋;color:black">‰</span>
                </p>
            </td>
            <td width="44">
                <p style="text-align:left">
                    <span style="font-size:12px;font-family:仿宋;color:black">0.1</span><span
                        style="font-size:12px;font-family:仿宋;color:black">‰</span>
                </p>
            </td>
        </tr>
        <tr style=";height:34px">
            <td width="38">
                <p style="text-align:left">
                    <span style="font-size:12px;font-family:仿宋;color:black">资产损失鉴证</span>
                </p>
            </td>
            <td width="435" colspan="8">
                <p style="text-align:center">
                    <span style="font-size:12px;font-family:仿宋;color:black">按鉴证金额的1%-1.5%计，或按照税务师事务所的收费标准执行。</span>
                </p>
            </td>
        </tr>
        <tr style=";height:34px">
            <td width="38">
                <p style="text-align:left">
                    <span style="font-size:12px;font-family:仿宋;color:black">财务报表审阅</span>
                </p>
            </td>
            <td width="435" colspan="8">
                <p style="text-align:center">
                    <span style="font-size:12px;font-family:仿宋;color:black">按年度报表审计收费标准的50%执行。</span>
                </p>
            </td>
        </tr>
        <tr style=";height:35px">
            <td width="38">
                <p style="text-align:left">
                    <span style="font-size:12px;font-family:仿宋;color:black">其他专项审计</span>
                </p>
            </td>
            <td width="435" colspan="8">
                <p style="text-align:center">
                    <span style="font-size:12px;font-family:仿宋;color:black">根据相近或相似原则参照前面的报表审计、专项审计，承办方与委托方根据审计的实际内容具体协商确定。</span>
                </p>
            </td>
        </tr>
        <tr style=";height:19px">
            <td width="38">
                <p style="text-align:left">
                    <strong><span style="font-size:12px;font-family:仿宋;color:black">咨询业务</span></strong>
                </p>
            </td>
            <td width="435" colspan="8">
                <p style="text-align:center">
                    <span style="font-size:12px;font-family:仿宋;color:black">根据业务复杂程度由双方协商确定。</span>
                </p>
            </td>
        </tr>
        <tr style=";height:19px">
            <td width="474" colspan="9">
                <p style="text-align:center">
                    <span style="font-size:12px;font-family:仿宋;color:black">按承办人员不同资格分类收取，主任会计师、副主任会计师：600元/小时；注册会计师：400元/小时；助理人员：150元/小时。</span>
                </p>
            </td>
        </tr>
        </tbody>
    </table>
    <p>
        <span style="font-size:16px;font-family:仿宋">&nbsp;</span>
    </p>
    <p>
        <br/>
    </p>

</div>

<div class="collect_div">
    <img id="collect_img" onclick="addCollectFun()" src="../img/un_collect.png">
    <div id="collect_txt" class="collect_txt">收藏</div>
</div>

<script src="../js/jquery-1.12.4.min.js"></script>
<script src="../js/common.js"></script>



<script>
    //-----------------公共变量-----------------
    var FWXM = "";
    var PGNR = "";
    var PGNR_JE = "";
    var PGNR_JEDX = "";
    var JSGS = "";
    var BZSF = "";
    var BZSFDS = "";

    var FDXS = "";

    var SFJE = "";
    var SFJEDS = "";

    function share_computation() {
        var obj = document.getElementById("select_fw");
        var select = obj.options[obj.selectedIndex].value;

        if (select == "0") {
            var r0 = ""
            var r1 = "服务项目:" + obj.options[obj.selectedIndex].text;
            var r2 = PGNR + ":" + PGNR_JE + "(" + PGNR_JEDX + ")";
            //var r6="计算公式:"+JSGS;
            var r2 = r2 + "<br/><br/>收入总额:" + getV("srzrXS0") + "(" + getH("srzrDS0") + ")";
            var r2 = r2 + "<br/><br/>计费基数=资产总额*60%+收入总额*40%=" + PGNR_JE + "*60%+" + getV("srzrXS0") + "*40%=" + getH("jfjs") + "(" + getH("jfjsDX") + ")";
            var r3 = "标准收费:(" + JSGS + ")*10000=" + getH("bzsfSX0") + "(" + getH("bzsfDX0") + ")";
            var r4 = "浮动系数:" + getV("fdxs0") + "%";
            //var r5="收费金额:"+SFJE+"("+SFJEDS+")";
            var r5 = "收费金额=标准收费*浮动系数=" + BZSF + "*" + getV("fdxs") + "%=" + SFJE + "(" + SFJEDS + ")";
            return r0 + "<br/><br/>" + r1 + "<br/><br/>" + r2 + "<br/><br/>" + r3 + "<br/><br/>" + r4 + "<br/><br/>" + r5;
        } else {
            var r0 = ""
            var r1 = "服务项目:" + obj.options[obj.selectedIndex].text;
            var r2 = PGNR + ":" + PGNR_JE + "(" + PGNR_JEDX + ")";
            //var r6="计算公式:"+JSGS;
            var title = getH("select_title") + ":" + PGNR_JE + "(" + PGNR_JEDX + ")";
            ;

            var r2 = title + "<br/><br/>标准收费=(" + JSGS + ")*10000=" + getH("bzsfSX") + "(" + getH("bzsfDX") + ")";
            var r4 = "浮动系数:" + getV("fdxs") + "%";
            //var r5="收费金额:"+SFJE+"("+SFJEDS+")";
            var r5 = "收费金额=标准收费*浮动系数=" + BZSF + "*" + getV("fdxs") + "%=" + SFJE + "(" + SFJEDS + ")";

            return r0 + "<br/><br/>" + r1 + "<br/><br/>" + r2 + "<br/><br/>" + r4 + "<br/><br/>" + r5;
        }

    }

    function share_computation_web() {
        var str = share_computation();
        var e = new RegExp("<br/>", "g");
        var words = str.replace(e, "\n");

        var cc = new RegExp("%25", "g");
        words = words.replace(cc, "%");
        return words;
    }

    function getV(did) {
        return document.getElementById(did).value;
    }

    function getH(did) {
        return document.getElementById(did).innerHTML;
    }

    //-----------------公共变量-end-------------
    //键盘事件计算
    function context() {
        var obj = document.getElementById("select_fw");
        var select = obj.options[obj.selectedIndex].value;
        FWXM = obj.options[obj.selectedIndex].text;

        if (select == "0") {
            document.getElementById("test2").style.display = "";
            document.getElementById("test1").style.display = "none";
            context1();
        } else {
            document.getElementById("test2").style.display = "none";
            document.getElementById("test1").style.display = "";
            context2();
        }
        //显示计算过程
        showProcess();
        document.getElementById("process").innerHTML = "<h3>小程序：计费宝</h3>" + share_computation();
    }

    function context1() {
        var obj = document.getElementById("select_fw");
        var select = obj.options[obj.selectedIndex].value;
        FWXM = obj.options[obj.selectedIndex].text;

        var title = "资产总额";

        document.getElementById("select_title").innerHTML = title;
        PGNR = title;

        var zczrXS0 = document.getElementById("zczrXS0").value;
        zczrXS0 = parseFloat(zczrXS0).toFixed(0);
        if (zczrXS0.length == 0) {
            return false;
        }

        var zczrDS0 = convertCurrency(zczrXS0);
        if ("404" != zczrDS0) {
            document.getElementById("zczrDS0").innerHTML = zczrDS0;
        }
        PGNR_JE = zczrXS0;
        PGNR_JEDX = zczrDS0;

        //------------收入总额-------------------
        var srzrXS0 = document.getElementById("srzrXS0").value;
        srzrXS0 = parseFloat(srzrXS0).toFixed(0);
        var srzrDS0 = convertCurrency(srzrXS0);
        if ("404" != srzrDS0) {
            document.getElementById("srzrDS0").innerHTML = srzrDS0;
        }
        //------------收入总额--end-----------------

        //------------计费基数--------------------------
        var jfjs = ((zczrXS0 * 0.6) + (srzrXS0 * 0.4));
        jfjs = parseFloat(jfjs).toFixed(0);
        document.getElementById("jfjs").innerHTML = jfjs;
        document.getElementById("jfjsDX").innerHTML = convertCurrency(jfjs);

        //------------计费基数---end-----------------------

        //----------计算1------------
        var A = parseFloat(jfjs);
        var value = getCount0(A);


        var str = parseFloat(value).toFixed(2);
        var strDS = convertCurrency(str);
        document.getElementById("bzsfSX0").innerHTML = str;//标准收费小写
        document.getElementById("bzsfDX0").innerHTML = strDS;//标准收费大写

        BZSF = str;
        BZSFDS = strDS;

        //浮动比例
        var fdxs = document.getElementById("fdxs0").value;
        FDXS = fdxs;
        if (fdxs.length == 0) {
            return false;
        }
        var fdxs = parseFloat(fdxs) / 100;

        var moneyff = str * fdxs;//收费金额
        moneyff = parseFloat(moneyff).toFixed(2);
        var moneyffDS = convertCurrency(moneyff);
        document.getElementById("sfjrXS0").innerHTML = moneyff;//收费金额小写
        document.getElementById("sfjrDS0").innerHTML = moneyffDS;//收费金额大写
        SFJE = moneyff;
        SFJEDS = moneyffDS;
        //-----------计算1--------------------

    }

    function context2() {
        var obj = document.getElementById("select_fw");
        var select = obj.options[obj.selectedIndex].value;
        FWXM = obj.options[obj.selectedIndex].text;

        var title = "资产总额";
        if (select == "0") {
            title = "资产总额";
            document.getElementById("test2").style.display = "";
            document.getElementById("test1").style.display = "none";
        } else {
            document.getElementById("test2").style.display = "none";
            document.getElementById("test1").style.display = "";
        }
        if (select == "1") {
            title = "资产总额";
        } else if (select == "2") {
            title = "资产总额";
        } else if (select == "3") {
            title = "验证资本";
        } else if (select == "4") {
            title = "投资总额";
        } else if (select == "5") {
            title = "涉案金额";
        }
        document.getElementById("select_title").innerHTML = title;
        PGNR = title;

        var srzrXS = document.getElementById("srzrXS").value;
        if (srzrXS.length == 0) {
            return false;
        }

        var srzrDS = convertCurrency(srzrXS);
        if ("404" != srzrDS) {
            document.getElementById("srzrDS").innerHTML = srzrDS;
        }
        PGNR_JE = srzrXS;
        PGNR_JEDX = srzrDS;

        //----------计算1------------
        var A = parseFloat(srzrXS);
        var value = 0;
        if (select == "1") {
            value = getCount1(A);
        } else if (select == "2") {
            value = getCount2(A);
        } else if (select == "3") {
            value = getCount3(A);
        } else if (select == "4") {
            value = getCount4(A);
        } else if (select == "5") {
            value = getCount5(A);
        }

        var str = parseFloat(value).toFixed(2);
        var strDS = convertCurrency(str);
        document.getElementById("bzsfSX").innerHTML = str;//标准收费小写
        document.getElementById("bzsfDX").innerHTML = strDS;//标准收费大写

        BZSF = str;
        BZSFDS = strDS;

        //浮动比例
        var fdxs = document.getElementById("fdxs").value;
        FDXS = fdxs;
        if (fdxs.length == 0) {
            return false;
        }
        var fdxs = parseFloat(fdxs) / 100;

        var moneyff = str * fdxs;//收费金额
        moneyff = parseFloat(moneyff).toFixed(2);
        var moneyffDS = convertCurrency(moneyff);
        document.getElementById("sfjrXS").innerHTML = moneyff;//收费金额小写
        document.getElementById("sfjrDS").innerHTML = moneyffDS;//收费金额大写
        SFJE = moneyff;
        SFJEDS = moneyffDS;
        //-----------计算1--------------------

    }

    //年度财务报表审计、中期财务报表审计、专项审计
    function getCount0(A) {
        /*
           A=A/10000;
            var count=0.00;
            JSGS="0.00";
            if(A<=50){
                count=0.12;
                JSGS="0.12";
            }else if(A<=100){
                count=0.12+(A-100)*0.02;
                JSGS="0.12+("+A+"-100)*0.2";
            }else if(A<=1000){
                count=0.2+400*0.001+(A-500)*0.0007;
                JSGS="0.2+400*0.001+("+A+"-500)*0.0007";
            }else if(A<=5000){
                count=0.2+400*0.001+500*0.0007+(A-1000)*0.0005;
                JSGS="0.2+400*0.001+500*0.0007+("+A+"-1000)*0.0005";
            }else if(A<=10000){
                count=0.2+400*0.001+500*0.0007+4000*0.0005+(A-5000)*0.00033;
                JSGS="0.2+400*0.001+500*0.0007+4000*0.0005+("+A+"-5000)*0.00033";
            }else if(A<=50000){
                count=0.2+400*0.001+500*0.0007+4000*0.0005+5000*0.00033+(A-10000)*0.00023;
                JSGS="0.2+400*0.001+500*0.0007+4000*0.0005+5000*0.00033+("+A+"-10000)*0.00023";
            }else if(A<=100000){
                count=0.2+400*0.001+500*0.0007+4000*0.0005+5000*0.00033+40000*0.00023+(A-50000)*0.00016;
                JSGS="0.2+400*0.001+500*0.0007+4000*0.0005+5000*0.00033+40000*0.00023+("+A+"-50000)*0.00016";
            }else if(A<=500000){
                count=0.2+400*0.001+500*0.0007+4000*0.0005+5000*0.00033+40000*0.00023+50000*0.00016+(A-100000)*0.00011;
                JSGS="0.2+400*0.001+500*0.0007+4000*0.0005+5000*0.00033+40000*0.00023+50000*0.00016+("+A+"-100000)*0.00011";
            }else if(A>500000){
                count=0.2+400*0.001+500*0.0007+4000*0.0005+5000*0.00033+40000*0.00023+50000*0.00016+400000*0.00011+(A-500000)*0.00008;
                JSGS="0.2+400*0.001+500*0.0007+4000*0.0005+5000*0.00033+40000*0.00023+50000*0.00016+400000*0.00011+("+A+"-500000)*0.00008";
            }*/

        return getCount1(A); //count*10000;
    }

    //解散、破产企业清算审计、变更验资
    function getCount1(A) {
        A = A / 10000;
        var count = 0.00;
        JSGS = "0.00";
        if (A <= 50) {
            count = 0.12;
            JSGS = "0.12";
        } else if (A <= 100) {
            count = 0.2 + 0.12;
            JSGS = "0.2+0.12";
        } else if (A <= 500) {
            count = 0.35 + 0.2 + 0.12;
            JSGS = "0.35+0.2+0.12";
        } else if (A <= 1000) {
            count = 0.5 + 0.35 + 0.2 + 0.12;
            JSGS = "0.5+0.35+0.2+0.12";
        } else if (A <= 5000) {
            count = 0.8 + 0.5 + 0.35 + 0.2 + 0.12;
            JSGS = "0.8+0.5+0.35+0.2+0.12";
        } else if (A <= 10000) {
            count = 1.5 + 0.8 + 0.5 + 0.35 + 0.2 + 0.12;
            JSGS = "(1.5+0.8+0.5+0.35+0.2+0.12";
        } else if (A <= 20000) {
            count = 2 + 1.5 + 0.8 + 0.5 + 0.35 + 0.2 + 0.12;
            JSGS = "2+1.5+0.8+0.5+0.35+0.2+0.12";
        } else if (A > 20000) {
            count = (A - 20000) * 0.0001 + 2 + 1.5 + 0.8 + 0.5 + 0.35 + 0.12 + 0.2;
            JSGS = "(" + A + "-20000)*0.0001+2+1.5+0.8+0.5+0.35+0.12+0.2";
        }

        return count * 10000;
    }

    //企业合并、分立审计
    function getCount2(A) {
        A = A / 10000;
        var count = 0.00;
        JSGS = "0.00";
        if (A <= 50) {
            count = 0.15;
            JSGS = "0.15";
        } else if (A <= 100) {
            count = 0.3 + 0.15;
            JSGS = "0.3+0.15";
        } else if (A <= 500) {
            count = 0.6 + 0.3 + 0.15;
            JSGS = "0.6+0.3+0.15";
        } else if (A <= 1000) {
            count = 1 + 0.6 + 0.3 + 0.15;
            JSGS = "1+0.6+0.3+0.15";
        } else if (A <= 5000) {
            count = 1.5 + 1 + 0.6 + 0.3 + 0.15;
            JSGS = "1.5+1+0.6+0.3+0.15";
        } else if (A <= 10000) {
            count = 2.5 + 1.5 + 1 + 0.6 + 0.3 + 0.15;
            JSGS = "2.5+1.5+1+0.6+0.3+0.15";
        } else if (A <= 20000) {
            count = 3 + 2.5 + 1.5 + 1 + 0.6 + 0.3 + 0.15;
            JSGS = "3+2.5+1.5+1+0.6+0.3+0.15";
        } else if (A > 20000) {
            count = (A - 20000) * 0.00015 + 3 + 2.5 + 1.5 + 1 + 0.6 + 0.15 + 0.3;
            JSGS = "(" + A + "-20000)*0.00015+3+2.5+1.5+1+0.6+0.15+0.3";
        }
        return count * 10000;
    }

    //设立验资
    function getCount3(A) {
        A = A / 10000;
        var count = 0.00;
        JSGS = "0.00";
        if (A <= 100) {
            count = 0.1;
            JSGS = "0.1";
        } else if (A <= 500) {
            count = (A - 100) * 0.0001 + 0.1;
            JSGS = "(" + A + "-100)*0.0001+0.1";
        } else if (A <= 1000) {
            count = (A - 500) * 0.0007 + 400 * 0.0001 + 0.1;
            JSGS = "(" + A + "-500)*0.0007+400*0.0001+0.1";
        } else if (A <= 5000) {
            count = (A - 1000) * 0.0005 + 500 * 0.0007 + 400 * 0.0001 + 0.1;
            JSGS = "(" + A + "-1000)*0.0005+500*0.0007+400*0.0001+0.1";
        } else if (A <= 10000) {
            count = (A - 5000) * 0.00033 + 4000 * 0.0005 + 500 * 0.0007 + 400 * 0.0001 + 0.1;
            JSGS = "(" + A + "-5000)*0.00033+4000*0.0005+500*0.0007+400*0.0001+0.1";
        } else if (A <= 20000) {
            count = (A - 10000) * 0.00023 + 5000 * 0.00033 + 4000 * 0.0005 + 500 * 0.0007 + 400 * 0.0001 + 0.1;
            JSGS = "(" + A + "-10000)*0.00023+5000*0.00033+4000*0.0005+500*0.0007+400*0.0001+0.1";
        } else if (A > 20000) {
            count = (A - 20000) * 0.0001 + 10000 * 0.00023 + 5000 * 0.00033 + 4000 * 0.0005 + 500 * 0.0007 + 400 * 0.0001 + 0.1;
            JSGS = "(" + A + "-20000)*0.0001+10000*0.00023+5000*0.00033+4000*0.0005+500*0.0007+400*0.0001+0.1";
        }
        return count * 10000;
    }

    //基本建设项目工程竣工财务决算审核
    function getCount4(A) {
        A = A / 10000;
        var count = 0.00;
        JSGS = "0.00";
        if (A <= 100) {
            count = 0.3;
            JSGS = "0.3";
        } else if (A <= 500) {
            count = 0.3 + (A - 100) * 0.0057;
            JSGS = "0.3+(" + A + "-100)*0.0057";
        } else if (A <= 1000) {
            count = 0.3 + 400 * 0.0057 + (A - 500) * 0.00532;
            JSGS = "0.3+400*0.0057+(" + A + "-500)*0.00532";
        } else if (A <= 5000) {
            count = 0.3 + 400 * 0.0057 + 500 * 0.00532 + (A - 1000) * 0.00262;
            JSGS = "0.3+400*0.0057+500*0.00532+(" + A + "-1000)*0.00262";
        } else if (A <= 10000) {
            count = 0.3 + 400 * 0.0057 + 500 * 0.00532 + 4000 * 0.00262 + (A - 5000) * 0.00258;
            JSGS = "0.3+400*0.0057+500*0.00532+4000*0.00262+(" + A + "-5000)*0.00258";
        } else if (A <= 50000) {
            count = 0.3 + 400 * 0.0057 + 500 * 0.00532 + 4000 * 0.00262 + 5000 * 0.00258 + (A - 10000) * 0.00131;
            JSGS = "0.3+400*0.0057+500*0.00532+4000*0.00262+5000*0.00258+(" + A + "-10000)*0.00131";
        } else if (A <= 100000) {
            count = 0.3 + 400 * 0.0057 + 500 * 0.00532 + 4000 * 0.00262 + 5000 * 0.00258 + 40000 * 0.00131 + (A - 50000) * 0.00122;
            JSGS = "0.3+400*0.0057+500*0.00532+4000*0.00262+5000*0.00258+40000*0.00131+(" + A + "-50000)*0.00122";
        } else if (A <= 500000) {
            count = 0.3 + 400 * 0.0057 + 500 * 0.00532 + 4000 * 0.00262 + 5000 * 0.00258 + 40000 * 0.00131 + 50000 * 0.00122 + (A - 100000) * 0.00063;
            JSGS = "0.3+400*0.0057+500*0.00532+4000*0.00262+5000*0.00258+40000*0.00131+50000*0.00122+(" + A + "-100000)*0.00063";
        } else if (A > 500000) {
            count = 0.3 + 400 * 0.0057 + 500 * 0.00532 + 4000 * 0.00262 + 5000 * 0.00258 + 40000 * 0.00131 + 50000 * 0.00122 + 400000 * 0.00063 + (A - 500000) * 0.00059;
            JSGS = "0.3+400*0.0057+500*0.00532+4000*0.00262+5000*0.00258+40000*0.00131+50000*0.00122+400000*0.00063+(" + A + "-500000)*0.00059";
        }
        return count * 10000;
    }

    //经济案件审计
    function getCount5(A) {
        A = A / 10000;
        var count = A * 0.05;
        JSGS = A + "*0.05";
        return count * 10000;
    }

    function convertCurrency(currencyDigits) {
// Constants:
        var MAXIMUM_NUMBER = 999999999999999999.99;
// Predefine the radix characters and currency symbols for output:
        var CN_ZERO = "零";
        var CN_ONE = "壹";
        var CN_TWO = "贰";
        var CN_THREE = "叁";
        var CN_FOUR = "肆";
        var CN_FIVE = "伍";
        var CN_SIX = "陆";
        var CN_SEVEN = "柒";
        var CN_EIGHT = "捌";
        var CN_NINE = "玖";
        var CN_TEN = "拾";
        var CN_HUNDRED = "佰";
        var CN_THOUSAND = "仟";
        var CN_TEN_THOUSAND = "万";
        var CN_HUNDRED_MILLION = "亿";
        var CN_SYMBOL = "";
        var CN_DOLLAR = "元";
        var CN_TEN_CENT = "角";
        var CN_CENT = "分";
        var CN_INTEGER = "整";

// Variables:
        var integral; // Represent integral part of digit number.
        var decimal; // Represent decimal part of digit number.
        var outputCharacters; // The output result.
        var parts;
        var digits, radices, bigRadices, decimals;
        var zeroCount;
        var i, p, d;
        var quotient, modulus;

// Validate input string:
        currencyDigits = currencyDigits.toString();
        if (currencyDigits == "") {
            //alert("输入项为空");
            return "";
        }
        if (currencyDigits.match(/[^,.\d]/) != null) {
            //alert("Invalid characters in the input string!");
            //alert("非法输入");
            return "";
        }
        if ((currencyDigits).match(/^((\d{1,3}(,\d{3})*(.((\d{3},)*\d{1,3}))?)|(\d+(.\d+)?))$/) == null) {
            //alert("Illegal format of digit number!");
            return "404";
        }

//小数点截取,如果小数为0就取整
        if (currencyDigits.indexOf(".00") > 0) {
            currencyDigits = currencyDigits.substr(0, currencyDigits.indexOf('.'));
        }

// Normalize the format of input digits:
        currencyDigits = currencyDigits.replace(/,/g, ""); // Remove comma delimiters.
        currencyDigits = currencyDigits.replace(/^0+/, ""); // Trim zeros at the beginning.
// Assert the number is not greater than the maximum number.
        if (Number(currencyDigits) > MAXIMUM_NUMBER) {
            alert("Too large a number to convert!");
            return "";
        }

// Process the coversion from currency digits to characters:
// Separate integral and decimal parts before processing coversion:
        parts = currencyDigits.split(".");
        if (parts.length > 1) {
            integral = parts[0];
            decimal = parts[1];
            // Cut down redundant decimal digits that are after the second.
            decimal = decimal.substr(0, 2);
        } else {
            integral = parts[0];
            decimal = "";
        }
// Prepare the characters corresponding to the digits:
        digits = new Array(CN_ZERO, CN_ONE, CN_TWO, CN_THREE, CN_FOUR, CN_FIVE, CN_SIX, CN_SEVEN, CN_EIGHT, CN_NINE);
        radices = new Array("", CN_TEN, CN_HUNDRED, CN_THOUSAND);
        bigRadices = new Array("", CN_TEN_THOUSAND, CN_HUNDRED_MILLION);
        decimals = new Array(CN_TEN_CENT, CN_CENT);
// Start processing:
        outputCharacters = "";
// Process integral part if it is larger than 0:
        if (Number(integral) > 0) {
            zeroCount = 0;
            for (i = 0; i < integral.length; i++) {
                p = integral.length - i - 1;
                d = integral.substr(i, 1);
                quotient = p / 4;
                modulus = p % 4;
                if (d == "0") {
                    zeroCount++;
                } else {
                    if (zeroCount > 0) {
                        outputCharacters += digits[0];
                    }
                    zeroCount = 0;
                    outputCharacters += digits[Number(d)] + radices[modulus];
                }
                if (modulus == 0 && zeroCount < 4) {
                    outputCharacters += bigRadices[quotient];
                }
            }
            outputCharacters += CN_DOLLAR;
        }
// Process decimal part if there is:
        if (decimal != "") {
            for (i = 0; i < decimal.length; i++) {
                d = decimal.substr(i, 1);
                if (d != "0") {
                    outputCharacters += digits[Number(d)] + decimals[i];
                }
            }
        }
// Confirm and return the final output string:
        if (outputCharacters == "") {
            outputCharacters = CN_ZERO + CN_DOLLAR;
        }
        if (decimal == "") {
            outputCharacters += CN_INTEGER;
        }
        outputCharacters = CN_SYMBOL + outputCharacters;
        return outputCharacters;
    }
</script>
</body>
</html>
